<?php

namespace App\Http\Validate;

class DeliveryValidate extends BaseValidate
{

    /**
     * 商品出库，客服确认配送
     * @param $params
     * @return mixed
     * @throws \Exception
     */
    public function outbound($params)
    {
        $record = $this->baseCheck($params);

        $goods_stock = $this->stock($params['id'], $params['num']);

        return [$record, $goods_stock];
    }

}
